package com.eastfair.questionnaire.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 答案
 * </p>
 *
 * @author yuwx
 * @since 2021-09-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "AnswerPageQuery", description = "答案")
public class AnswerPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 问题id
     */
    @ApiModelProperty(value = "问题id")
    private Long questionId;
    /**
     * 下一题id
     */
    @ApiModelProperty(value = "下一题id")
    private Long nextQuestionId;
    /**
     * 上级答案
     */
    @ApiModelProperty(value = "上级答案")
    private Long parentAnswerId;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sequence;
    /**
     * 问题名称
     */
    @ApiModelProperty(value = "问题名称")
    private String name;
    /**
     * 问题英文名称
     */
    @ApiModelProperty(value = "问题英文名称")
    private String enName;
    /**
     * 问题别名
     */
    @ApiModelProperty(value = "问题别名")
    private String aliasName;
    /**
     * 问题英文别名
     */
    @ApiModelProperty(value = "问题英文别名")
    private String enAliasName;
    /**
     * 提示语
     */
    @ApiModelProperty(value = "提示语")
    private String defaultTip;
    /**
     * 图标地址
     */
    @ApiModelProperty(value = "图标地址")
    private String iconUrl;
    /**
     * 末级节点
     */
    @ApiModelProperty(value = "末级节点")
    private Integer isLeaf;
    /**
     * 允许输入
     */
    @ApiModelProperty(value = "允许输入")
    private Integer isInput;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnable;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer isDelete;

}
